package com.ruoyi.project.men.service.impl;

import com.ruoyi.project.men.dao.MenCooperateTypeDao;
import com.ruoyi.project.men.domain.MenCooperateTypeDO;
import com.ruoyi.project.men.service.MenCooperateTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MenCooperateTypeServiceImpl implements MenCooperateTypeService {
	@Autowired
	private MenCooperateTypeDao menCooperateTypeDao;
	
	@Override
	public MenCooperateTypeDO get(String id){
		return menCooperateTypeDao.get(id);
	}
	
	@Override
	public List<MenCooperateTypeDO> list(Map<String, Object> map){
		return menCooperateTypeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return menCooperateTypeDao.count(map);
	}
	
	@Override
	public int save(MenCooperateTypeDO menCooperateType){
		return menCooperateTypeDao.save(menCooperateType);
	}
	
	@Override
	public int update(MenCooperateTypeDO menCooperateType){
		return menCooperateTypeDao.update(menCooperateType);
	}
	
	@Override
	public int remove(String id){
		return menCooperateTypeDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return menCooperateTypeDao.batchRemove(ids);
	}

    @Override
    public List<MenCooperateTypeDO> likeList(Map<String, Object> map){
        return menCooperateTypeDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return menCooperateTypeDao.likeListCount(map);
    }
	
}
